package com.woniuxy.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * @ClassName ProjectUser
 * @Description 项目成员关联模型
 * @Author 李磊
 * @Version 1.0
 **/
@TableName("t_project_user")
public class ProjectUser implements Serializable {

    private static final long serialVersionUID = 1L;
    /*项目ID*/
    private Integer projectId;
    /*成员ID*/
    private Integer userId;
    /*项目成员关联ID*/
    @TableId(value = "conn_id", type = IdType.AUTO)
    private Integer connId;


    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getConnId() {
        return connId;
    }

    public void setConnId(Integer connId) {
        this.connId = connId;
    }

    @Override
    public String toString() {
        return "ProjectUser{" +
        "projectId=" + projectId +
        ", userId=" + userId +
        ", connId=" + connId +
        "}";
    }
}
